#ifndef UNLESSONGRADES_H
#define UNLESSONGRADES_H

#include <QDialog>
#include "ui_unlessongrades.h"
#include "helper.h"
#include "policy.h"

class UnlessonGrades : public QDialog
{
	Q_OBJECT

public:
	UnlessonGrades(QWidget *parent = 0);
	~UnlessonGrades();

private:
	Ui::UnlessonGradesClass ui;
	int lessontypeid, studentid;
	void showActualData();

private slots:
	//settings
	void lessonTypeChanged(int index);
	void groupChanged(int index);
	void studentChoosen(const QModelIndex &index);
	//saving
	void protocolSave();
	void codeStyleSave();
	void algorithmSave();
	//actions
	void exportAndClose();
	void importData();
};

#endif // UNLESSONGRADES_H
